<?php /* Smarty version 2.6.16, created on 2009-04-27 22:54:51
         compiled from EditBlog.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'EditBlog.html', 3, false),array('function', 'url', 'EditBlog.html', 4, false),array('function', 'language', 'EditBlog.html', 8, false),array('modifier', 'escape', 'EditBlog.html', 9, false),array('modifier', 'process_code', 'EditBlog.html', 45, false),)), $this); ?>
<?php if (! $this->_tpl_vars['bPreview']):  echo $this->_tpl_vars['sValMess']; ?>

<?php echo smarty_function_messages(array(), $this);?>

<form method="post" action="<?php echo smarty_function_url(array('link' => 'public.account.myitems.blog.edit','id' => $this->_tpl_vars['aItem']['id']), $this);?>
" style="margin:0px;" onsubmit="<?php echo $this->_tpl_vars['sValJs']; ?>
">
<div style="padding:30px;font-size:10pt;" class="color">
<?php echo smarty_function_messages(array('block' => 'EditBlog'), $this);?>

<div style="padding-bottom:8px;">
	<?php echo smarty_function_language(array('text' => 'blog_title'), $this);?>
 <span class="star">*</span>
	<div style="padding:5px;"><input type="text" name="val[title]" maxlength="150" size="30" onfocus="this.className='inputmain';" onblur="this.className='';" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></div>
</div>
<div style="padding-bottom:8px;"><?php echo smarty_function_language(array('text' => "Mod_Tag.tags"), $this);?>
:<div style="padding:5px;">
        <input type="text" name="val[tags]" maxlength="80" size="30" onfocus="this.className='inputmain';" onblur="this.className='';" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['tags'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
        <br /><?php echo smarty_function_language(array('text' => "Mod_Tag.tags_details"), $this);?>

   </div>
</div>
<div style="padding-bottom:8px;">
	<?php echo smarty_function_language(array('text' => 'content'), $this);?>
 <span class="star">*</span>
		<span style="padding-left:10px;font-size:7pt;">
		  <a class="link_action" href="<?php echo $this->_tpl_vars['sUrl']; ?>
#" onclick="popUp2('<?php echo smarty_function_url(array('link' => 'public.popup.htmlguide'), $this);?>
#html','500','500','yes','200','100'); return false;">[ <?php echo smarty_function_language(array('text' => 'html_guide'), $this);?>
 ]</a>
		</span>
	<div style="padding:5px;">
	<textarea cols="50" rows="15" name="val[text]" id="maintext" onfocus="this.style.backgroundColor='#fff';" onblur="this.style.backgroundColor='#F6F6F6';"><?php echo $this->_tpl_vars['aItem']['text']; ?>
</textarea>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sMainTemplatePath'])."/_blocks/smilies.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	</div>
</div>
<div style="padding-bottom:8px;">
	<div style="padding:5px;"><input type="submit" name="act[edit]" value="<?php echo smarty_function_language(array('text' => 'submit_blog'), $this);?>
 " style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></div>
</div>
</div>
</form>
<?php else: ?>
<div style="padding:30px;font-size:10pt;" class="color"><div class="border13"><div style="padding:5px;">
  <?php echo smarty_function_language(array('text' => 'thanks_for_editing_your_b'), $this);?>
 <br />
  <div style="padding:5px;"> <?php echo smarty_function_language(array('text' => 'below_you_can_view_what_y_379'), $this);?>

  <br /><br />
  <span style="font-size:7pt;">
     <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.myitems.blog.edit','id' => $this->_tpl_vars['aItem']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'edit'), $this);?>
 ]</a>
     &nbsp;
     <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.submit.add-blog'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'submit_more'), $this);?>
 ]</a>
     &nbsp;
     <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.myitems.blog','delete' => $this->_tpl_vars['aItem']['id']), $this);?>
" onclick="return sure('');" >[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a>
  </span>
</div></div></div>
<br /><br />
<div style="font-size:8pt;"><?php echo ((is_array($_tmp=$this->_tpl_vars['aItem']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>
</div></div>
<?php endif; ?>